package com.j180.order.bean;

import java.io.Serializable;
import java.util.List;

/**
 * 订单明细
 */
public class OrderDetailBean implements Serializable {
    /**
     * 明细编号
     */
    private Integer odid;
    /**
     * 所有订单
     */
    private OrderBean orderBean;
    /**
     * 购买的商品
     */
    private List<ProductBean> productBeanList;
    /**
     * 购买商品的数量
     */
    private  int num;

    public Integer getOdid() {
        return odid;
    }

    public void setOdid(Integer odid) {
        this.odid = odid;
    }

    public OrderBean getOrderBean() {
        return orderBean;
    }

    public void setOrderBean(OrderBean orderBean) {
        this.orderBean = orderBean;
    }



    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public List<ProductBean> getProductBeanList() {
        return productBeanList;
    }

    public void setProductBeanList(List<ProductBean> productBeanList) {
        this.productBeanList = productBeanList;
    }

    @Override
    public String toString() {
        return "OrderDetailBean{" +
                "odid=" + odid +
                ", orderBean=" + orderBean +
                ", productBeanList=" + productBeanList +
                ", num=" + num +
                '}';
    }
}
